/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.universityUnits;

import model.entitys.NamedEntity;

/**
 *
 * @author Administrator
 */
public class Department extends NamedEntity<Course> implements DepartmentInterface {

    private final FacultyInterface faculty;

    public Department(FacultyInterface faculty, String name) {
        super(name);
        this.faculty = faculty;
    }

    @Override
    public FacultyInterface getFaculty() {
        return faculty;
    }
}
